{extend name='admin@main'}

{block name="content"}
<div class="think-box-shadow">
    {include file='order/index_search'}
    <table class="layui-table margin-top-10" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='list-table-check-td'>
              会员信息
            </th>
               <th class='list-table-check-td'>
                {notempty name='userinfo.db2.headimgurl'}
                <img data-tips-image style="width:80px;height:80px" src="{$userinfo['db2']['headimgurl']|default=''}" class="margin-right-5 text-top">
                {/notempty}
                <div class="inline-block">
                    会员昵称：{$userinfo['db2']['name']|default='--'}<br>
                    会员手机：{$userinfo['db2']['mobile']|default='--'}<br>
                </div>
             </th>
             <th class='list-table-td'></th>
             <th class='list-table-td'></th>
              <th class='list-table-td'></th>
        </tr>
        <tr>
            <th class='list-table-check-td think-checkbox'>
                <input data-auto-none data-check-target='.list-check-box' type='checkbox'>
            </th>
            <!-- <th class="text-left nowrap">会员信息</th> -->
            <th class='text-left nowrap'>订单信息</th>
            <!-- <th class='text-left nowrap'>发货信息</th> -->
            <th class='text-left nowrap'>套餐信息</th>
             <th class='text-left nowrap'>订单备注信息</th>
              <th class='text-left nowrap'>下单时间</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}
        <tr>
            <td class='list-table-check-td think-checkbox'><input class="list-check-box" value='{$vo.id}' type='checkbox'></td>
<!--             <td class="text-left nowrap relative">
                {notempty name='vo.headimgurl'}
                <img data-tips-image style="width:80px;height:80px" src="{$vo.headimgurl|default=''}" class="margin-right-5 text-top">
                {/notempty}
                <div class="inline-block">
                    会员昵称：{$vo.name|default='--'}<br>
                    会员手机：{$vo.mobile|default='--'}<br>
                </div>
            </td> -->
            <td class='text-left nowrap'>
                订单单号：<span class="color-blue">{$vo.tradeNo|default=''}</span>
                {eq name='vo.status' value='0'}<span class="layui-badge layui-bg-red margin-left-5">预订单</span>{/eq}
                {eq name='vo.status' value='1'}<span class="layui-badge layui-bg-orange margin-left-5">预订单|未支付</span>{/eq}
                {eq name='vo.status' value='2'}<span class="layui-badge layui-bg-green margin-left-5">已支付</span>{/eq}
                {eq name='vo.status' value='3'}<span class="layui-badge layui-bg-black margin-left-5">支付失败</span>{/eq}
                <br>
                订单金额：<strong class="color-blue">{$vo.price+0}</strong> 元
                <!-- 分成 <strong class="color-blue">{"$vo.price_rate_amount+0"}</strong> 元 -->
                已支付 <strong class="color-blue">{$vo.price+0}</strong> 元<br>
              
                支付时间：{$vo.payTime|format_datetime|default='--'}<br>
            </td>

            <td class='text-left nowrap'>
                套餐名称：<span class="color-blue">{$vo.commodity_title|default=''}</span>
                <br>
               <!--  套餐类型:<strong class="color-blue">{$vo.commodity_remark|default=''}</strong> 
                <br>
                套餐期限:
                {if condition="($vo.commodity_year neq 0)"}
                    <span class="color-blue">{$vo.commodity_year|default=''}/年付</span>
                {elseif condition="($vo.commodity_month neq 0)"/}
                    <span class="color-blue">{$vo.commodity_month|default=''}/月付</span>
                {elseif condition="($vo.commodity_day neq 0)"/}
                    <span class="color-blue">{$vo.commodity_day|default=''}/日付</span>
                {else /}
                {/if}
                <br> -->
    <!--             {if condition="($vo.commodity_outAppnumber neq 0)"}
                限制接待人数:
                <span class="color-blue">{$vo.commodity_outAppnumber|default=''}人</span>
                {/if} -->
                
                {if condition="($vo.commodity_outnumber neq 0)"}
                限制公司人数:
                <span class="color-blue">{$vo.commodity_outnumber|default=''}人</span>
                {/if}
                <!-- 分成 <strong class="color-blue">{"$vo.price_rate_amount+0"}</strong> 元 -->
                套餐积分: <span class="color-blue">{$vo.frequency}</span>
            </td>
             <td class='text-left nowrap'>
               {$vo.order_remark|default='--'}
            </td>
              <td class='text-left nowrap'>
               {$vo.createtime|format_datetime}
            </td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>
{/block}
